var LR_MCount1=5000;
function LR_CheckUserUrl(_url)
{
	if(_url==null)
	{
	return '';
	}
	if(_url.indexOf('//')==-1)
	{
	return LR_imgurl+_url;
	}
	if(LR_sysurl.substring(0,LR_sysurl.indexOf('//'))=='http:')
	{
	return _url.replace(LR_sysurl,LR_imgurl).replace('https://','http://');
	}
	else
	{
	return _url.replace('http://','https://');
	}
}
function LR_checkagent(_lr_na){var _lr_o = _lr_na.split('|');for(_lr_w=0;_lr_w<_lr_o.length;_lr_w++){if(navigator.userAgent.toLowerCase().indexOf(_lr_o[_lr_w])>-1)return true;}return false;}
var LR_cid=null;var LR_sid=null;var LR_fistvisitetime=null;var LR_visitetime=new Date().getTime();var LR_lastvisitetime=null;var LR_visitecounts=0;LR_visitepages=0;var LR_ip=null;var LR_ip1=null;var LR_ip2=null;var LR_showinvite=1;var LR_invite0='';var LR_invite1=null;var LR_sidexists=-1;var LR_lastinvite=new Date().getTime();var checkcount=0;var LR_inviteimgJS=1;var LR_chatkind=-1;var lr_refer5237 = escape(document.referrer);if(typeof(lr_refer5236)!='undefined')lr_refer5237=escape(lr_refer5236);var LR_cname=null;var LR_ccolor=null;var LR_lastoname=null;var LR_nexttimerID=null;var LR_istate=0,LR_gstate=0;var LR_skey=null;var LR_surl=null;var LR_ClientEnd=1;var LR_cur_invite=null;var LR_cookie_ctick=0;var LR_maxoid=0;var lastshowmini=0;
function LR_GetObj(id,theDoc){if(!theDoc){theDoc = document;}if (theDoc.getElementById){return theDoc.getElementById(id);}else if (document.all){return theDoc.all(id);}}if(LR_auto_pagetitle && typeof(LR_pagetitle)=='undefined'){var LR_pagetitle= document.title;}
if(typeof(LiveReceptionCode_need_help_html) != 'undefined')LR_showfloat = 1;
if(typeof(LR_explain) == 'undefined')
{
	LR_explain='';
	if(typeof(LiveReception_explain) != 'undefined')
	{
		LR_explain=unescape(LiveReception_explain);
	}
	if(typeof(LiveReceptionCode_chatexplain_online) != 'undefined')
	{
		LR_explain=unescape(LiveReceptionCode_chatexplain_online);
	}
}
function LR_Check_region()
{
	if(LR_defineregion)
	{
		var invitec0=unescape(LR_ip1)+' '+unescape(LR_ip2);
		if(typeof(only_invite_list) != 'undefined')
		{
			LR_showinvite=0;
			var invitec1=only_invite_list.split('|');
			for(w=0;w<invitec1.length;w++)
			{
				if (invitec1[w].length == 0)continue;
				if(invitec0.indexOf(invitec1[w])!=-1)
				{
					LR_showinvite=1;
					break;
				}
			}
		}
		else if(typeof(never_invite_list) != 'undefined')
		{
			var invitec1=never_invite_list.split('|');
			for(w=0;w<invitec1.length;w++)
			{
				if (invitec1[w].length == 0)continue;
				if(invitec0.indexOf(invitec1[w])!=-1)
				{
					LR_showinvite=0;
					break;
				}
			}
		}
	}
	if(LR_hidden_region!='')
	{
		var lrhgs=LR_hidden_region.split(",");		var ipfrom = unescape(LR_ip1)+' '+unescape(LR_ip2);
		for(w=0;w<lrhgs.length;w++)
		{
			if(lrhgs[w]=='')continue;
			if(ipfrom.indexOf(lrhgs[w])!=-1){LR_showinvite=0;return;};
		}
		 if (LR_showfloat) LR_Floaters[0].showdiv(1);
	}
}
function LR_buildfloat()
{
	return (typeof(LiveReceptionCode_need_help_html) != 'undefined')?LiveReceptionCode_need_help_html:'<img '+(LiveReceptionCode_isonline?'title="'+_lr_helpalt_on+'" alt="'+_lr_helpalt_on+'" src="'+LR_CheckUserUrl(_lr_helpsrc_on)+'"':'title="'+_lr_helpalt_of+'" alt="'+_lr_helpalt_of+'" src="'+LR_CheckUserUrl(_lr_helpsrc_of)+'"')+'  style="cursor:pointer" onclick="openZoosUrl(\'chatwin\');">';
}
function LR_check_block(lrobjinner){if(typeof(lrobjinner) == 'undefined')return true; return ((lrobjinner.indexOf('.gif')==-1 &&  lrobjinner.indexOf('.jpg')==-1 &&  lrobjinner.indexOf('.png')==-1 && lrobjinner.indexOf('.swf')==-1) || lrobjinner.indexOf(' Blocked_')!=-1);}
var LR_Floaters=new Array();
if (typeof(LR_Fid)=='undefined')
{
	var LR_Fid=0;
	var LR_invitew=(LR_UserInviteDiv!=null && LR_isMobile)?120:211;
	var LR_inviteh=(LR_UserInviteDiv!=null && LR_isMobile)?60:110;
	var LR_inviteim=new Image;if(LR_isMobile)LR_inviteim.src=LR_CheckUserUrl(_lr_mobileinviteimgsrc);
	eval("function OnlinerIcon(){this.pms=new Array();this.LR_scrollTimer=null;this.autoScroll=LR_autoScroll;this.get_tip_str=onliner_get_tip_str;this.start=onliner_start;this.imageTimer=onliner_imageTimer;this.get_close_str=onliner_get_close_str;this.hidden=hidden_div;this.showdiv=show_div;}function LR_autoScroll(){this.imageTimer();}function onliner_get_tip_str(){  var tt = 'z-index:2147483647;position:fixed!important;'+((this.pms['xCenter']==1)?'left:50%;margin-left:-'+(typeof (lr_xCenter) != 'undefined'?lr_xCenter:LR_invitew)+'px!important;':((this.pms['alignx']==1)?'right':'left')+':'+this.pms['alignW']+'px;')+((this.pms['yCenter']==1)?'top:50%;margin-top:-'+(typeof (lr_yCenter) != 'undefined'?lr_yCenter:LR_inviteh)+'px!important;':((this.pms['aligny']==1)?'bottom':'top')+':'+this.pms['alignH']+'px;')+'_position:absolute;_margin-left:0px;_margin-top:0px;_top:expression(eval(document.compatMode && document.compatMode==\\'CSS1Compat\\')?(documentElement.scrollTop + '+((this.pms['yCenter']==1)?'(document.documentElement.clientHeight-this.offsetHeight)/2':((this.pms['aligny']==1)?'document.documentElement.clientHeight-this.offsetHeight-':'')+this.pms['alignH'])+'):(document.body.scrollTop + '+((this.pms['yCenter']==1)?'(document.body.clientHeight - this.clientHeight)/2':((this.pms['aligny']==1)?'document.body.clientHeight - this.clientHeight-':'')+this.pms['alignH'])+'));_left:expression(eval(document.compatMode && document.compatMode==\\'CSS1Compat\\')?(documentElement.scrollLeft + '+((this.pms['xCenter']==1)?'(document.documentElement.clientWidth-this.offsetWidth)/2':((this.pms['alignx']==1)?'document.documentElement.clientWidth-this.offsetWidth-':'')+this.pms['alignW'])+'):(document.body.scrollLeft + '+((this.pms['xCenter']==1)?'(document.body.clientWidth - this.clientWidth)/2':((this.pms['alignx']==1)?'document.body.clientWidth - this.clientWidth-':'')+this.pms['alignW'])+'));';return tt;}function onliner_get_close_str(){if(this.pms['closer_show']==1) return '<div id=\"swtColse\" style=\"width:20px; height:15px; top:0px; right:0px; position:absolute;background-image: url('+this.pms['closer_img']+');background-repeat: no-repeat;background-position: right top;cursor:pointer;\" onclick=\"LR_Hidemobileinvite('+this.pms['LR_Fid']+');onlinerIcon'+this.pms['LR_Fid']+'.hidden();\"></div>'; return '';}function hidden_div(){this.pms['show']='none';LR_GetObj(this.pms['LRdiv']).style.display='none';}function show_div(showclose){this.pms['show']='block';LR_GetObj(this.pms['LRdiv']).style.display='block';if(LR_GetObj(this.pms['LRfloater']+'close')!=null)LR_GetObj(this.pms['LRfloater']+'close').style.display=showclose?'block':'none';}function onliner_imageTimer(hand){ var _lrobj0=LR_GetObj(this.pms['LRfloater']+'_if');if(_lrobj0!=null){_lrobj0.style.width = _lrobj0.nextSibling.clientWidth+'px';_lrobj0.style.height = _lrobj0.nextSibling.clientHeight+'px';}var _lrobj=LR_GetObj(this.pms['LRdiv']); if(hand || (this.pms['show']=='block' && _lrobj!=null && LR_check_block(_lrobj.innerHTML) && !LR_check_block(this.pms['html']))){var con_img=this.pms['html'];var tt='';if(!LR_isMobile && (typeof(LR_above_flash) != 'undefined') && LR_above_flash)tt+='<iframe s'+'r'+'c=\"'+LR_imgurl+'JS/im.aspx\" id=\"'+this.pms['LRfloater']+'_if\" style=\"position:absolute;z-index:2147483647;top:expression(this.nextSibling.offsetTop);left:expression(this.nextSibling.offsetLeft);width:1px;\" frameborder=\"0\" allowtransparency=\"true\" ></iframe>';tt+='<DIV id=\"'+this.pms['LRfloater']+'\" >'+this.get_close_str()+con_img+'</div>';  _lrobj.innerHTML=tt; LR_GetObj(this.pms['LRfloater']).style.cssText=this.get_tip_str();var _lrobj1=LR_GetObj(this.pms['LRfloater']+'_if');if(_lrobj1!=null){_lrobj1.style.cssText=this.get_tip_str()+'z-index:2147483647;width:expression(this.nextSibling.clientWidth);height:expression(this.nextSibling.clientHeight);';}LR_GetObj(this.pms['LRdiv']).style.display=this.pms['show'];}	}function onliner_start(){	document.write('<div id=\"'+this.pms['LRdiv']+'\" style=\"display:none;\"></div>');}");
}
else
{
	LR_Fid++;
}
eval('var onlinerIcon'+LR_Fid+'=new OnlinerIcon();');
eval('onlinerIcon'+LR_Fid+'.pms[\'LR_Fid\']=LR_Fid;');
eval('onlinerIcon'+LR_Fid+'.pms[\'show\']=(LR_showfloat && LR_hidden_region.length==0)?\'block\':\'none\';');
eval('onlinerIcon'+LR_Fid+'.pms[\'aligny\']=_lr_tobottom;');
eval('onlinerIcon'+LR_Fid+'.pms[\'alignx\']=_lr_toright;');
eval('onlinerIcon'+LR_Fid+'.pms[\'alignW\']=_lr_left;');
eval('onlinerIcon'+LR_Fid+'.pms[\'alignH\']=_lr_top;');
eval('onlinerIcon'+LR_Fid+'.pms[\'html\']=LR_buildfloat();');
eval('onlinerIcon'+LR_Fid+'.pms[\'closer_show\']=(_lr_closesrc0==\'\')?0:1;');
eval('onlinerIcon'+LR_Fid+'.pms[\'closer_img\']="'+LR_imgurl+'LR/closeimg/'+_lr_closesrc0+'";');
eval('onlinerIcon'+LR_Fid+'.pms[\'LRfloater\']=\'LRfloater'+LR_Fid+'\';');
eval('onlinerIcon'+LR_Fid+'.pms[\'LRdiv\']=\'LRdiv'+LR_Fid+'\';');
eval('onlinerIcon'+LR_Fid+'.start();');
eval('onlinerIcon'+LR_Fid+'.LR_scrollTimer = window.setInterval(\'onlinerIcon'+LR_Fid+'.autoScroll()\', 200); ');
eval('LR_Floaters.push(onlinerIcon'+LR_Fid+');');
if(!LR_checkagent('ucbrowser') && document.body)document.body.appendChild(LR_GetObj('LRdiv'+LR_Fid));
LR_Fid++;
eval('var onlinerIcon'+LR_Fid+'=new OnlinerIcon();');
eval('onlinerIcon'+LR_Fid+'.pms[\'LR_Fid\']=LR_Fid;');
eval('onlinerIcon'+LR_Fid+'.pms[\'show\']=\'none\';');
if((typeof(Invite_ToBottom) != 'undefined') && (typeof(Invite_ToRight) != 'undefined') && (typeof(Invite_left) != 'undefined') && (typeof(Invite_top) != 'undefined'))
{
	eval('onlinerIcon'+LR_Fid+'.pms[\'aligny\']=Invite_ToBottom;');
	eval('onlinerIcon'+LR_Fid+'.pms[\'alignx\']=Invite_ToRight;');
	eval('onlinerIcon'+LR_Fid+'.pms[\'alignW\']=Invite_left;');
	eval('onlinerIcon'+LR_Fid+'.pms[\'alignH\']=Invite_top;');
}
else
{
	eval('onlinerIcon'+LR_Fid+'.pms[\'xCenter\']=1;');
	eval('onlinerIcon'+LR_Fid+'.pms[\'yCenter\']=1;');
}
eval('onlinerIcon'+LR_Fid+'.pms[\'html\']=\'\';');
eval('onlinerIcon'+LR_Fid+'.pms[\'closer_show\']=0;');
eval('onlinerIcon'+LR_Fid+'.pms[\'closer_img\']="'+LR_sysurl+'LR/closeimg/'+_lr_closesrc1+'";');
eval('onlinerIcon'+LR_Fid+'.pms[\'LRfloater\']=\'LRfloater'+LR_Fid+'\';');
eval('onlinerIcon'+LR_Fid+'.pms[\'LRdiv\']=\'LRdiv'+LR_Fid+'\';');
eval('onlinerIcon'+LR_Fid+'.start();');
eval('onlinerIcon'+LR_Fid+'.LR_scrollTimer = window.setInterval(\'onlinerIcon'+LR_Fid+'.autoScroll()\', 200); ');
eval('LR_Floaters.push(onlinerIcon'+LR_Fid+');');
function LR_showInviteDiv(h1,h2)
{
	if(!LR_showinvite) return;
	if (h1==null && h2==null) return;
	if (h1=='1' && h2=='1' && LR_chated_no_invite && LR_getCookie('LR_lastchat')=='1') {return;}
	var LR_ikind1=(!LR_invite_display_kind || h2=='1');if(typeof(LiveAutoInvite0) != 'undefined' && h1=='1')h1=LiveAutoInvite0;if(h2=='1')h2=LR_GetAutoInvite2();
	if(h1.indexOf('%IP%')!=-1)
	{
		var ipfrom=unescape(LR_ip1);
		if(ipfrom.length<3 || (LR_ip1==null && LR_ip2==null))
		{h1='';}
		else
		{h1=h1.replace('%IP%',ipfrom);}
	}
	LR_cur_invite=h2;	if(LR_UserInviteDiv!=null && LR_ikind1)
	{
		LR_Floaters[1].pms['html']=LR_UserInviteDiv.replace('{c0}',LR_invite_color0).replace('{c1}',LR_invite_color1).replace('{c2}',LR_invite_color2).replace('{c3}',LR_invite_color3).replace('{aimg}',LR_CheckUserUrl(LR_accept_img)).replace('{fimg}',LR_CheckUserUrl(LR_refuse_img)).replace('{pimg}',LR_CheckUserUrl(LR_ivite_img)).replace('{h1}',h1).replace('{h2}',h2).replace(/\{0\}/g,'openZoosUrl();LR_HideInvite();').replace(/\{1\}/g,'LR_RefuseChat();LR_HideInvite();');
	}
	else
	{
		onlinerIcon1.pms['closer_show']=0;
		if(LR_isMobile && (LR_inviteim.readyState=='complete' || (LR_inviteim.readyState!='undefined' && LR_inviteim.complete))){LR_invitew=LR_inviteim.width/2;LR_inviteh=LR_inviteim.height/2;}
		LR_Floaters[1].pms['html']=LR_isMobile?'<div id="LR_swtbox" style="background:url('+LR_CheckUserUrl(_lr_mobileinviteimgsrc)+');background-repeat: no-repeat;background-position: right;overflow:hidden;width:'+LR_invitew*2+'px; height:'+LR_inviteh*2+'px;position:relative;"><div id="LR_swtchat" style="width:'+LR_invitew*2+'px; height:'+LR_inviteh*2+'px; top:0px; right:0px; position:absolute"> <a href="javascript:void(0)" onClick="openZoosUrl();LR_HideInvite();return false;"  style="display:block; height:'+LR_inviteh*2+'px; text-indent:-999em"></a></div><div id="LR_swtColse" style="width:35px; height:30px; top:0; right:0; position:absolute"><a href="javascript:void(0)" onClick="LR_RefuseChat();LR_HideInvite();return false;" style="display:block; height:30px; text-indent:-999em" ></a></div></div>':'<table ID="LR_Tb2" style="BORDER-COLLAPSE: collapse; background-color: '+LR_invite_color1+';border: '+LR_invite_color0+' 2px solid;margin:2px;padding:0;WIDTH: 420px;" align=center><tr><td style="HEIGHT: 20px;margin:0; padding:0;" width="400" valign="bottom">'+((h1=='')?'':'<font style="margin-LEFT: 12px;FONT-WEIGHT: bold; FONT-SIZE: 12px;COLOR: #000000;">'+h1+'</font>')+'</td><TD width="20" align="right" style="PADDING-RIGHT: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; MARGIN: 0px; PADDING-TOP: 0px;"><a href="javascript:void(0)" onclick="LR_HideInvite();LR_RefuseChat();return false;"><img src="'+LR_CheckUserUrl(LR_close_img)+'" border="0"></a>&nbsp;</TD></tr><TR><TD colspan="2"><table ID="LR_Tb3" style="BORDER-COLLAPSE: collapse;border: '+LR_invite_color2+' 1px solid; background-color: #FFFFFF;margin-left:7px;margin-right:7px;margin-bottom:7px;margin-top:0;WIDTH: 400px;" align=center><tr><td><table cellspacing=0 cellpadding=0 ID="LR_Tb4" align=center style="WIDTH: 400px; HEIGHT: 104px;border:0;margin:0; padding:0;"><tr><td rowspan="2" style="WIDTH: 110px" align=center><img src="'+LR_CheckUserUrl(LR_ivite_img)+'"></td><td style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-BOTTOM: 2px; PADDING-TOP: 19px;FONT-SIZE: 12px;color:'+LR_invite_color3+';" align=left valign=top>'+h2+'</td></tr><tr><td align=right height=30><table border=0 style="margin:0; padding:0;WIDTH: 180px;"><tr><td><img src="'+LR_CheckUserUrl(LR_accept_img)+'" border=0 usemap="#Map93LR" /><map name="Map93LR"><area shape="rect" coords="1,1,78,22"  href="javascript:void(0)" onclick="openZoosUrl();LR_HideInvite();return false;"></map></td><td width=20></td><td><a href="javascript:void(0)" onclick="LR_HideInvite();LR_RefuseChat();return false;"><img src="'+LR_CheckUserUrl(LR_refuse_img)+'" border=0></a></td><td width=20></td></tr></table></td></tr></table></td></tr></table></td></tr></table>';
	}
	LR_Floaters[1].showdiv(0);LR_Floaters[1].imageTimer(true);if(LR_fade_invite)LR_fadeIn('LRfloater1');if(document.body){document.body.appendChild(LR_GetObj('LRdiv0'));document.body.appendChild(LR_GetObj('LRdiv1'));}
	if(LR_invite_hide_float && LR_showfloat)LR_Floaters[0].hidden();
	window.focus();LR_SetCookie('lastshowinvite',new Date().getTime(),720);
}
function LR_showHfloat(){
if(LR_invite_hide_float && LR_showfloat){LR_Floaters[0].showdiv(1);if(document.body)document.body.appendChild(LR_GetObj('LRdiv0'));}
}
function LR_HideInvite()
{
			if(LR_Floaters[1].pms['html']=='')return;LR_Floaters[1].pms['html']='';LR_showHfloat();
			if(LR_fade_invite){if(LR_GetObj('LRfloater1')==null)return;LR_fadeOut('LRfloater1');}else{LR_Floaters[1].hidden();}
			
			if(LR_istate==1){LR_istate=0;}
}
function LR_Hidemobileinvite(lid)
{
		if(lid!=1)return;LR_RefuseChat();LR_HideInvite();
}
function LR_SetOpacity(ev, v) {ev.filters ? ev.style.filter = 'alpha(opacity=' + v + ')' : ev.style.opacity = v / 100;}
function LR_fadeIn(elem) {if(LR_GetObj(elem)==null){return;}speed = 120;opacity = 100;LR_GetObj(elem).style.display = 'block';LR_SetOpacity(LR_GetObj(elem), 0);var val = 0;(function() {LR_SetOpacity(LR_GetObj(elem), val);val += 5;if (val <= opacity) {setTimeout(arguments.callee, speed)}})();}
function LR_fadeOut(elem) {if(LR_GetObj(elem)==null){return;} speed = 50;opacity = 0;var val = 100;(function() {LR_SetOpacity(LR_GetObj(elem), val);val -= 5;if (val >= opacity) {setTimeout(arguments.callee, speed);} else if (val <= 0) {LR_GetObj(elem).style.display = 'none';}})();}
	if(typeof(LrinviteTimeout) == 'undefined' || isNaN(LrinviteTimeout) || LrinviteTimeout<1)
	{
		LrinviteTimeout=1;
	}
	if (!_lr_issupport_track && (LiveReceptionCode_isonline || !offline_invite_hidden)) { LR_nextinvite(1); }
function LR_checkagent(_lr_na){var _lr_o = _lr_na.split('|');for(_lr_w=0;_lr_w<_lr_o.length;_lr_w++){if(navigator.userAgent.toLowerCase().indexOf(_lr_o[_lr_w])>-1)return true;}return false;}
function lr_refer5238() {if (typeof (lr_refer5236) != 'undefined') {return '&r='+escape(lr_refer5236);}var lr_refer5235=LR_getCookie('lr_refer5');if(lr_refer5235!=null){LR_SetCookie('lr_refer5','',-60);return '&r='+lr_refer5235;}var ur = document.referrer;var i = ur.lastIndexOf('.');return '&rf1=' + escape(ur.substring(0, i)) + '&rf2=' + escape(ur.substr(i));}
function openZoosUrl(url,data)
{
if (typeof(openZoosUrl_UserDefine) == 'function'){if(openZoosUrl_UserDefine())return;};
if (typeof (LR_istate) != 'undefined') {LR_istate=3;}
var lr_url1=url;
if (typeof (LR_opentimeout) != 'undefined' && typeof (LR_next_invite_seconds) != 'undefined')LR_next_invite_seconds=999999;
	if(url=='sendnote')
	{
		url=LR_sysurl+'LR/Chatwin2.aspx?siteid='+LR_websiteid+'&cid='+LR_cid+'&sid='+LR_sid+'&lng='+LR_lng+'&p='+escape(location.href)+lr_refer5238();
	}
	else
	{
		url=((LR_userurl0 && typeof (LR_userurl) != 'undefined')?LR_userurl:(LR_sysurl+'LR/Chatpre.aspx'))+'?id='+LR_websiteid+'&cid='+LR_cid+'&lng='+LR_lng+'&sid='+LR_sid+'&p='+escape(location.href)+lr_refer5238();
	}
	if(typeof(LR_UserSSL) != 'undefined' && LR_UserSSL && url.charAt(4)==':')url=url.substring(0,4)+'s'+url.substring(4,url.length);
	if(!data){if(typeof(LR_explain)!='undefined' && LR_explain!=''){url+='&e='+escape(escape(LR_explain));}else if(typeof(LiveAutoInvite1)!='undefined'){url+='&e='+escape(escape(LiveAutoInvite1));}}
	if(typeof(LR_username)!='undefined'){url+='&un='+escape(LR_username);}
	if(typeof(LR_userdata)!='undefined'){url+='&ud='+escape(LR_userdata);}
	if(typeof(LR_ucd)!='undefined'){url+='&ucd='+escape(LR_ucd);}
	if(data)url+=data;url+='&bid='+escape(LR_bid)+'&d='+new Date().getTime();if (typeof (LR_imgint) != 'undefined')url+='&imgint='+LR_imgint;
	if(lr_url1=='fchatwin')
	{
		LR_ClientEnd=0;window.location=url+'&f=1';return;
	}
	if(LR_sidexists!=2 && LiveReceptionCode_isonline && lr_url1!='bchatwin' && !LR_isMobile && typeof(LR_pm003)!='undefined' && LR_pm003==1){LR_HideInvite();LR_istate=1;clickopenmini=1;LR_showminiDiv();lrminiMax();return;} 
	if (LR_isMobile){LR_ClientEnd=0;window.location=url;return;}
	var oWindow;
	try
	{
		if (LR_isMobile || LR_checkagent('opera|safari|se 2.x'))
		{
			oWindow=window.open(url);
		}
		else
		{
			oWindow=window.open(url,'LRWIN_'+LR_websiteid, 'toolbar=no,width=760,height=460,resizable=yes,location=no,scrollbars=no,left='+((screen.width  - 760) / 4)+',top='+((screen.height - 460) / 4));
		}
		if(oWindow==null)
		{
			LR_ClientEnd=0;window.location=url;
			return;
		}
		oWindow.focus();
	}
	catch(e){
		if(oWindow==null){LR_ClientEnd=0;window.location=url;}
	}
}
function LR_useCookie(){
LR_cid=LR_getCookie('LiveWS'+LR_websiteid);
LR_sid=LR_getCookie('LiveWS'+LR_websiteid+'sessionid');
LR_fistvisitetime=LR_getCookie('fistvisitetime');
LR_lastvisitetime=LR_getCookie('lastvisitetime');
LR_visitecounts=LR_getCookie('visitecounts');
LR_visitepages=LR_getCookie('visitepages');
LR_cname=LR_getCookie('cname');
LR_ccolor=LR_getCookie('ccolor');
if(LR_fistvisitetime==null)
{
	LR_SetCookie('fistvisitetime',new Date().getTime(),2628000);
	LR_SetCookie('lastvisitetime',new Date().getTime(),2628000);
	LR_SetCookie('visitecounts',1,2628000);
	LR_SetCookie('visitepages',1,2628000);
}
else
{
	LR_SetCookie('lastvisitetime',new Date().getTime(),2628000);
	if((new Date().getTime()-parseInt(LR_lastvisitetime))>43200000){LR_SetCookie('visitecounts',(parseInt(LR_visitecounts)+1),2628000);}
	LR_SetCookie('visitepages',(parseInt(LR_visitepages)+1),2628000);
}
LR_addnew0();
}
LR_useCookie();
function LiveReceptionCode_BuildChatWin(_lrchatexplain,_lrhelpalt)
{
	return ' href="javascript:void(0)"  onclick="openZoosUrl(\'chatwin\',\'&e='+escape(escape(_lrchatexplain))+'\');return false;" title="'+unescape(_lrhelpalt)+'" target="_self" ';
}
function LR_GetAutoInvite2()
{
if(LR_invitesearchkey && LR_skey!=null && typeof(LiveAutoInvite3) != 'undefined'){return LiveAutoInvite3.replace('%SKEY%',unescape(LR_skey));}else if(LR_invitestring1_auto!=''){return LR_invitestring1_auto;}else{return LiveAutoInvite2.replace(/\\"/g, '"');}
}
function clearinviteTimeout(){if(LR_nexttimerID != null){clearTimeout(LR_nexttimerID); LR_nexttimerID = null; }LR_HideInvite();}
function LR_invitef()
	{
		if(LR_invite0=='fopenchatwin'){LR_gstate=1;if(LR_istate<2){clearinviteTimeout();LR_istate=2;window.focus();lr_hidemini();openZoosUrl('fchatwin');}}
		else if(LR_invite0=='no'){LR_gstate=2;clearinviteTimeout();if(LR_istate>0){LR_istate=0;}}
		else if(LR_invite0=='openchatwin'){LR_gstate=1;if(LR_istate>-1){clearinviteTimeout();LR_istate=1;LR_showminiDiv();}}
		else if(LR_invite0!=''){LR_gstate=1;if(LR_istate>-1){clearinviteTimeout();LR_istate=1;LR_showInviteDiv(LR_invite0,LR_invite1);}}
	}
function LR_LS()
{
	if(LR_sidexists==-1)
	{
		setTimeout('LR_LS()',100);return;
	}
	LR_Check_region();
		if(LR_invite0=='alerturl'){var oo5=LR_invite1.split(',');alert(unescape(oo5[1]));window.location=oo5[0];}else if(LR_invite0=='url'){window.location=LR_invite1;}else if(LR_invite0=='alert'){alert(LR_invite1);LR_gstate=-2;}
	function LRedithref(pm,pv,href){if(href.indexOf(pm)==-1)href+=pm+pv;return href;}function LRedithref1(){var aList=document.getElementsByTagName('a');for(var i=0;i<aList.length;i++){var href0=aList[i].href.toLowerCase();if(href0&&/chatpre.aspx|chatwin.aspx/.test(href0)&&href0.indexOf('='+LR_websiteid.toLowerCase())>-1){href0=LRedithref('&r=',lr_refer5238(),href0);href0=LRedithref('&p=',escape(location.href),href0);href0=LRedithref('&cid=',LR_cid,href0);href0=LRedithref('&sid=',LR_sid,href0);aList[i].href=href0;}}} LRedithref1();
	if(_lr_issupport_track)
	{
		if(LR_sidexists==0)
		{
			var LR_Color=16;
			if(navigator.appName!='Netscape'){LR_Color=screen.colorDepth;}
			else{LR_Color=screen.pixelDepth;}
			var LR_sSize = screen.width + '*' + screen.height;
			var data='id='+LR_siteid+'&sid='+LR_sid+'&s='+LR_sSize+'&ft='+LR_fistvisitetime+'&fl='+LR_lastvisitetime+'&vc='+LR_visitecounts+'&vp='+LR_visitepages+'&c='+LR_Color+'&lng='+LR_lng+'&cid='+LR_cid+'&z='+(new Date()).getTimezoneOffset()/60;
	data+='&cn='+escape(LR_cname)+'&co='+escape(LR_ccolor);
			checkcount=-1;LR_inviteimgJS=0;LR_hcloopJS(LR_sysurl+'LS/newsid0.aspx',data);
		}
	}
	if(!LiveReceptionCode_isonline && offline_invite_hidden){if(LR_pm004)LR_showminiDiv_of();return;}
LR_invitef();
	if(_lr_issupport_track)LR_nextinvite(1);
	if (LR_sidexists == 2) return;
	if(LiveReceptionCode_isonline && _lr_issupport_track){LR_hcloop();}
}
LR_LS();
	var lronunload0=window.onunload;
		window.onunload=lronunload1;
	function lronunload1()
	{
		if(!LR_ClientEnd)return;LR_ClientEnd=0;
		LR_inviteimgJS=0;LR_hcloopJS(LR_sysurl+'LR/ClientEndJS.aspx','id='+LR_siteid+'&lng='+LR_lng+'&sid='+LR_sid);
		try{if (typeof(lronunload0) == 'function')lronunload0();}catch(e){}
	}
function LR_RefuseChat()
{
	if(LR_gstate==1){LR_invite0='';LR_istate=-1;}LR_nextinvite();
}
function LR_nextinvite(fic)
{
	if(LR_gstate<1 && LR_istate==0 && typeof(LiveAutoInvite0) != 'undefined'){
		if(!fic && (!LR_repeatinvite || typeof(LR_next_invite_seconds) == 'undefined'))return;
		var lastshowinvite=parseInt(LR_getCookie('lastshowinvite'));if(isNaN(lastshowinvite)){lastshowinvite=0;}
		var intimeout=_lr_invite_interval*1000-(new Date().getTime()-lastshowinvite);var intimeout1=(fic?LrinviteTimeout:LR_next_invite_seconds)*1000;if(intimeout>0){intimeout1+=intimeout;}
		LR_istate=1;LR_nexttimerID=setTimeout('LR_showInviteDiv("1","1")',intimeout1);
	}
}
function LR_hcloopJS(url, param) {
    var me = arguments.callee;
    var src = url.indexOf('?') == '-1' ? url + '?' : url;
    src += param;if(src.indexOf('&d=') == '-1')src += '&d=' + new Date().getTime();
    me.Script && me.Script.parentNode.removeChild(me.Script);
    me.Script = document.createElement('script');
    me.Script.setAttribute('type', 'text/javascript');
    me.Script.src = src;
    document.getElementsByTagName('head')[0].appendChild(me.Script);
}

function LR_CheckImgJS(w,w1,w2,w3){
LR_inviteimgJS=1;if(!LR_cookie_test || w==2){LR_CheckImgJS1(w,w1,w2,w3);return;}
var w0=w+'|'+new Date().getTime()+'|'+(w1?w1:'')+'|'+(w2?w2:'')+'|'+(w3?w3:'');
LR_SetCookie('LR_check_data',w0,0.1);
}
function LR_CheckImgJS1(w,w1,w2,w3)
{
	if(!w){return;}if(w==28){return;}
	if(checkcount==-1 && w!=6)return;
	if(w>0)
	{
		if(LR_chatkind==-1)LR_chatkind = 0;
		if(w==2){LR_gstate=1;if(LR_istate<2){clearinviteTimeout();LR_istate=2;window.focus();		openZoosUrl('fchatwin');}}
		else if(w==8){LR_gstate=1;if(LR_istate>-1){clearinviteTimeout();LR_istate=1;if(w1)LR_chatkind=w1;LR_showminiDiv();}}
		else if(w==4){
		LR_gstate=0;if(LR_istate>1){LR_istate=0;}LR_nextinvite();		}
		else if(w==5){
		if(LR_gstate!=2){LR_gstate=2;LR_SetCookie('LR_lastchat','1',720);}clearinviteTimeout();if(LR_istate>0){LR_istate=0;}		}
		else if(w==7){LR_gstate=-1;if(LR_istate>1){LR_istate=0;}LiveReceptionCode_isonline=0;if(typeof(LR_offline)=='function')LR_offline();LR_Floaters[0].pms['html']=LR_buildfloat();LR_Floaters[0].imageTimer(true);return;}
		else if(w==1)
		{
			if(LR_gstate==1)return;
			checkcount=2;LR_invite0=w1;LR_invite1=w2;LR_invitef();
		}
	}
}
function LR_hcloop()
{
	if (!LiveReceptionCode_isonline || !_lr_issupport_track || (LR_visitetime+1800000)<new Date().getTime())return;
	if(LR_cookie_test){
	if(LR_getCookie('LR_mimiwin')!=LR_Tick && LR_chatkind==2 && !clickopenmini)
	lrminiMin(1);
	var LR_check_data=LR_getCookie('LR_check_data');
	if(LR_check_data!=null)
	{
		var LR_ss=LR_check_data.split("|");
		if(LR_ss.length>4 && LR_cookie_ctick<parseInt(LR_ss[1])){
LR_cookie_ctick=parseInt(LR_ss[1]);LR_CheckImgJS1(LR_ss[0],LR_ss[2],LR_ss[3],LR_ss[4]);setTimeout('LR_hcloop()', 500);return;
		}
	}
	}
	if (checkcount==-1 || !LR_inviteimgJS)
	{
		setTimeout('LR_hcloop()', 500);return;
	}
	if (LR_istate==-1)
	{
		LR_istate=-2;checkcount=-1;LR_inviteimgJS=0;LR_hcloopJS(LR_sysurl+'JS/RefuseChatjs.aspx','id='+LR_siteid+'&sid='+LR_sid+'&lng='+LR_lng);
		setTimeout('LR_hcloop()', 500);return;
	}
	if(LR_cookie_test && LR_getCookie('lastinvite')!=null)LR_lastinvite=LR_getCookie('lastinvite');
	if(LR_lastinvite!=null)
	{
		if (LR_MCount1<5000)LR_MCount1=5000;
		if ((new Date().getTime() - parseInt(LR_lastinvite)) > LR_MCount1)
		{
			LR_lastinvite=new Date().getTime();
			LR_SetCookie('lastinvite',LR_lastinvite,720);
			LR_inviteimgJS=0;var url='';if(LR_explain!=''){url='&e='+escape(escape(LR_explain));LR_explain='';}LR_hcloopJS(LR_lxurl+'js/CheckInvitejs.aspx','id='+LR_siteid+'&sid='+LR_sid+url+((LR_GetObj('LRMINIWIN')!=null && LR_GetObj('LRMINIWIN').style.display == 'none')?('&oid='+LR_maxoid):''));
		}
	}
	setTimeout('LR_hcloop()', 500);
}
